package com.lagou.sqlSession;

import com.lagou.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

public class BoundSql {

    private String textSql;
    private List<ParameterMapping>parameterMappings=new ArrayList<>();

    public BoundSql(String textSql, List<ParameterMapping> parameterMappings) {
        this.textSql = textSql;
        this.parameterMappings = parameterMappings;
    }

    public String getTextSql() {
        return textSql;
    }

    public void setTextSql(String textSql) {
        this.textSql = textSql;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }
}
